package com.lhf.legalPlant.service;

import com.lhf.legalPlant.model.*;
import com.lhf.util.ResultVo;

import javax.validation.Valid;

/**
 * @author 尐痞猫
 * @date2021-06-25 22:50
 */
public interface FactoryService {
    ResultVo selectByUserId(User user);

    ResultVo query(FactorySelectVo factorySelectVo);

    ResultVo add(@Valid FactoryAddVo factoryAddVo);

    ResultVo update(@Valid FactoryUpdateVo factoryUpdateVo);


    ResultVo updateStatus(@Valid FactoryUpdateStatusVo factoryUpdateStatusVo);

    ResultVo queryFactory(LegelPersonVo legelPersonVo);
}
